home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / nano.postinst < prev    next >
Text File  |  2009-03-30  |  1KB  |  35 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
  6.     update-alternatives --install /usr/bin/editor editor /bin/nano 40 \
  7.       --slave /usr/share/man/man1/editor.1.gz editor.1.gz \
  8.       /usr/share/man/man1/nano.1.gz
  9.     update-alternatives --install /usr/bin/pico pico /bin/nano 10 \
  10.       --slave /usr/share/man/man1/pico.1.gz pico.1.gz \
  11.       /usr/share/man/man1/nano.1.gz
  12. fi
  13.  
  14. # Automatically added by dh_installdocs
  15. if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
  16.     install-docs -i /usr/share/doc-base/nano
  17. fi
  18. # End automatically added section
  19. # Automatically added by dh_installdocs
  20. if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
  21.     install-docs -i /usr/share/doc-base/nano-faq
  22. fi
  23. # End automatically added section
  24. # Automatically added by dh_installmenu
  25. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  26.     update-menus
  27. fi
  28. # End automatically added section
  29. # Automatically added by dh_installinfo
  30. if [ "$1" = "configure" ]; then
  31.     install-info --quiet /usr/share/info/nano.info
  32. fi
  33. # End automatically added section
  34.  
  35.